package com.sky.mapper.admin;

import com.sky.pojo.Dish;
import com.sky.pojo.SetmealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author:篍
 * @Date: 2025/08/15 23:50
 * @Description:
 */
@Mapper
public interface SetmealDishMapper {
    Integer selectCountByDishIds(@Param("ids") List<Long> ids);

    void insertBatch(@Param("setmealDishes") List<SetmealDish> setmealDishes);

    void deleteBySetmealIds(@Param("setmealIds") List<Long> ids);

    List<SetmealDish> findDishBySetmealId(Long id);

    List<Dish> findDishesBySetmealId(Long id);
}
